import http from "@/common/http/request";
import { uploadInterface } from "./upload.interface";

//单文件上传
export const $upload = (formData: FormData) => {
  const $http = new http();
  return $http.post({
    url: '/common/upload',
    data: formData,
  })
}